package com.atguigu.es.dao;

import com.atguigu.es.entity.Article;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface ArticleDao extends ElasticsearchRepository<Article, Integer> {
    List<Article> findByTitleOrContent(String title, String content);

    List<Article> findByTitle(String title);

    // aaa hotfix
    // aaa master
}
